package com.yiyi.credit.manage.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@ApiModel(value = "站点实体")
@Table(name = "sub_station")
public class SubStation {

    @ApiModelProperty("主键")
    @Id
    private Long id;


    @Column(name = "sub_station_no", columnDefinition = "站点编号")
    @ApiParam(value = "站点编号")
    private String subStationNo;

    @Column(name = "sub_station_name", columnDefinition = "站点名称")
    @ApiParam(value = "站点名称")
    private String subStationName;

    @Column(name = "charge_people", columnDefinition = "责任人")
    @ApiParam(value = "责任人")
    private String chargePeople;

    @Column(name = "contact_phone", columnDefinition = "通讯电话")
    @ApiModelProperty(value = "通讯电话")
    @ApiParam(value = "通讯电话")
    private String contactPhone;

    @Column(name = "status", columnDefinition = "状态")
    @ApiModelProperty(value = "状态")
    private Integer status;

    @Column(name = "create_time", columnDefinition = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private Long createTime;

    @Column(name = "create_people", columnDefinition = "创建者")
    @ApiModelProperty(value = "创建者")
    private Long createPeople;

    @Column(name = "update_time", columnDefinition = "更改时间")
    @ApiModelProperty(value = "更改时间")
    private Long updateTime;

    @Column(name = "update_people", columnDefinition = "更改者")
    @ApiModelProperty(value = "更改者")
    private Long updatePeople;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSubStationNo() {
        return subStationNo;
    }

    public void setSubStationNo(String subStationNo) {
        this.subStationNo = subStationNo == null ? null : subStationNo.trim();
    }

    public String getSubStationName() {
        return subStationName;
    }

    public void setSubStationName(String subStationName) {
        this.subStationName = subStationName == null ? null : subStationName.trim();
    }

    public String getChargePeople() {
        return chargePeople;
    }

    public void setChargePeople(String chargePeople) {
        this.chargePeople = chargePeople == null ? null : chargePeople.trim();
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone == null ? null : contactPhone.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getCreatePeople() {
        return createPeople;
    }

    public void setCreatePeople(Long createPeople) {
        this.createPeople = createPeople;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdatePeople() {
        return updatePeople;
    }

    public void setUpdatePeople(Long updatePeople) {
        this.updatePeople = updatePeople;
    }

}